class Stack:

    def __init__(self):
        self.item = []

    def push(self, item):
        self.item.append(item)

    def pop(self):
        return self.item.pop()

    def peek(self):
        return self.item[-1]

    def size(self):
        return len(self.item)

    def is_empty(self):
        return self.item == []


class MinStack:

    def __init__(self):
        self.item = []

    def push(self, val: int) -> None:
        self.item.append(val)

    def pop(self) -> None:
        self.item[-1]

    def top(self) -> int:
        return self.item[-1]

    def getMin(self) -> int:
        return min(self.item)


if __name__ == "__main__":
    # s = Stack()
    # s.push('hh')
    # s.push('last')
    # print(s.peek())
    # print(s.size())
    # print(s.item)
    # x = s.pop()
    # print(x)
    # print(s.item)
    # print(s.is_empty())
    s = MinStack()
    s.push()